package com.shijunhao.graduation.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shijunhao.graduation.annotations.WrapperCondition;
import com.shijunhao.graduation.domain.entity.BaseEntity;
import com.shijunhao.graduation.enums.SqlSymbol;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;

/**
 * <p>
 * 
 * </p>
 *
 * @author shijunhao
 * @since 2022-03-04
 */
@ApiModel("字典项查询实体")
public class SystemDictItemQueryDto{

    @ApiModelProperty(name="主键",example = "1")
    @WrapperCondition(condition = SqlSymbol.EQ)
    private Long id;


    @ApiModelProperty(name="字典值",example = "1")
    @WrapperCondition(condition = SqlSymbol.EQ)
    private Integer dictValue;

    @ApiModelProperty("字典文本")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String dictLabel;

    @ApiModelProperty(name="所属字典id",example = "1")
    @WrapperCondition(condition = SqlSymbol.EQ)
    @TableField("dict_id")
    private Long dictId;

    public Integer getDictValue() {
        return dictValue;
    }

    public void setDictValue(Integer dictValue) {
        this.dictValue = dictValue;
    }

    public String getDictLabel() {
        return dictLabel;
    }

    public void setDictLabel(String dictLabel) {
        this.dictLabel = dictLabel;
    }

    public Long getDictId() {
        return dictId;
    }

    public void setDictId(Long dictId) {
        this.dictId = dictId;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
